package com.java.service;

import com.java.entity.FoodInfo;
import com.java.util.resp.BaseRespone;
import com.java.util.resp.TableRespone;

public interface FoodService {

	BaseRespone saveType(String typeId, String typeTitle, String typeIcon);
	
	BaseRespone delType(String typeId);
	
	TableRespone getTypes(String typeTitle, int page, int size);
	
	BaseRespone saveFood(FoodInfo food);
	
	BaseRespone delFood(String foodId);
	
	TableRespone getFoods(String foodTypeId, String foodTitle, int page, int size);
}
